/*
 * Copyright 2012 NJUT  qixiaobo. All rights reserved.
 */
package com.fujitsu.nanjing.tieba.base;


/**
 * BaseService.java
 * <p>
 * T表示原来的domain，U表示对应的example，即数据库相关查询等操作
 * </p>
 * 
 * @author Qixiaobo-win8
 */

public abstract class BaseService<T, U> {
	public abstract T findById(String id);
	public abstract T insert(T t);
	public abstract void update(T t);
	public abstract void delete(T t);
}
